package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 *
 * 奖品domain
 * @author: chenxiaolin
 * @date 2023/10/14 11:14
**/
@Data
@TableName("prize")
public class LotteryPrizeDomain {

    private Long id;

    private String prizeName;
    /**
     * 总库存
     */
    private Integer totalStock;

    /**
     * 可用库存
     */
    private Integer validStock;

    private Long lotteryId;

    private String img;

    /**
     * 奖品类型 -1：谢谢参与 1.实物奖 2.积分 3.优惠券
     */
    private Integer type;

    /**
     * 日期类型（1固定时间区间，2天数)
     */
    private Integer dateType;

    private Integer validDays;

    /**
     * 配送方式 1:直接核销 2:快递配送 3.线下核销
     */
    private Integer deliveryWay;

    private Long spuId;

    private Long couponId;

    private Integer integral;

    @TableLogic
    private Boolean deleted;

}
